﻿using Abp.Application.Services;
using AVISOutBound.SSOServer.Dto;
using AVISOutBound.SSOServer.VerifyCode.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AVISOutBound.SSOServer.VerifyCode
{
    public interface IValidateCodeAppService : IApplicationService
    {
        ValidateCodeDto CreateValidateCode();
        bool CheckValidateCode(string phone, string code);
        string GetValidateCode(string phone);
        bool SendSmsCode(string phone);
        bool CheckSmsCode(string phone, string code);
        string GetSmsCode(string phone);
    }
}
